package com.glacier.cloud.order.config;

import com.glacier.cloud.loadbalancer.config.NacosLoadBalancerConfig;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.context.annotation.Configuration;

/**
 * date 2024-02-02 13:22
 * 负载均衡设置
 *
 * @author glacier
 * @version 1.0
 */
@Configuration
@LoadBalancerClients(
        // 指定局部配置
        value = {@LoadBalancerClient(name = "product-serv", configuration = NacosLoadBalancerConfig.class)},
        defaultConfiguration = NacosLoadBalancerConfig.class
)
public class LoadBalancerConfig {
}
